home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Readers / HTMLGrad / Install < prev    next >
Text File  |  1997-08-08  |  3KB  |  117 lines

  1. ;*****************************************************************************************************************************
  2. ;*                                                                                                                           *
  3. ;*                                                                                                                           *
  4. ;*                                             HTMLGrad 1.0 Install Script                                                   *
  5. ;*                                                                                                                           *
  6. ;*                                             Written by Alvaro Thompson                                                    *
  7. ;*                                                                                                                           *
  8. ;*                                                                                                                           *
  9. ;*                                                                                                                           *
  10. ;*****************************************************************************************************************************
  11.  
  12.  
  13. (set #info
  14.  (cat "\nWelcome to the HTMLGrad 1.0 Installing Script"
  15.       "\n\nThis program is written by Gareth Williams and"
  16.       "\nAlvaro Thompson ©1997 All Rights Reserved"
  17.  )
  18. )
  19.  
  20. (set #asl
  21.  (cat "I am now going to install the asl.library")
  22. )
  23.  
  24. (set #reqtools
  25.  (cat "I am now going to install the reqtools.library")
  26. )  
  27.  
  28. (set #where
  29.  (cat "Where would you like HTMLGrad to be installed?\n(A drawer will be created)")
  30. )
  31.  
  32. (set #shareware
  33.  (cat "\nHTMLGrad 1.0 is *SHAREWARE*"
  34.       "\n\nThis means that the program is partly disabled and"
  35.       "\nhas loads of very annoying pop-up requesters"
  36.       "\n\nPlease consider registering"
  37.  )
  38. )       
  39.  
  40. ;******************************************* Start the installing sequence **************************************************
  41.  
  42. (message #info)      
  43.  
  44.  
  45. (set destination
  46.  (askdir
  47.   (prompt #where)
  48.   (help @askdir-help)
  49.   (default "Sys:")
  50.  )
  51. )  
  52.  
  53. (set trgt (tackon destination "HTMLGrad"))
  54.  
  55. (makedir (tackon destination "HTMLGrad"))
  56. (makedir (tackon trgt "Examples"))
  57. (makedir (tackon trgt "Docs"))
  58.  
  59. (copyfiles
  60.  (source "Icons/")
  61.  (dest destination)
  62.  (all)
  63. )
  64.  
  65. (copylib
  66.  (prompt #asl)
  67.  (source "Libs/asl.library")
  68.  (dest "LIBS:")
  69.  (help @copylibs-help)
  70.  
  71. (copylib
  72.  (prompt #reqtools)
  73.  (source "Libs/reqtools.library")
  74.  (dest "LIBS:")
  75.  (help @copylibs-help)
  76.  
  77. (copyfiles
  78.  (source "Fonts/")
  79.  (dest "FONTS:")
  80.  (help @copyfiles-help)
  81.  (all)
  82. )
  83.  
  84. (copyfiles
  85.  (source "Docs/")
  86.  (dest (tackon trgt "Docs/"))
  87.  (all)
  88. )
  89.  
  90. (copyfiles
  91.  (source "Examples/")
  92.  (dest (tackon trgt "Examples/"))
  93.  (all)
  94. )
  95.  
  96. (copyfiles
  97.  (source "bin/")   
  98.  (dest trgt)
  99.  (all)
  100. )
  101.  
  102. (textfile
  103.  (dest "ENVARC:HTMLGrad")
  104.  (append trgt)
  105.  
  106. (copyfiles
  107.  (source "ENVARC:HTMLGrad")
  108.  (dest "ENV:")
  109. )
  110.  
  111. (set @default-dest trgt)
  112.  
  113. (message #shareware)
  114.